package org.example;

import java.util.ServiceLoader;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) {
        ServiceLoader<HelloService> processors = ServiceLoader.load(HelloService.class);
        for (HelloService helloService :
                processors) {
            helloService.say();
        }
    }
}
